#!/usr/bin/env bash

## configure and install minimal openbox desktop environment

## check for sudo/root
if ! [ $(id -u) = 0 ]; then
  echo "This script must run with sudo, try again..."
  exit 1
fi

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install -y \
  lxappearance \
  lxappearance-obconf \
  obconf \
  openbox-menu \
  compton \
  nitrogen \
  viewnior \
  dunst \
  elinks \
  xxkb \
  feh \
  mousepad \
  ntfs-3g \
  screenfetch \
  arandr \
  pavucontrol \
  udisks2 \
  udiskie \
  policykit-1-gnome \
  gvfs \
  alsamixergui \
  pavucontrol \
  curl \
  youtube-dl \
  gufw \
  gparted \
  ffmpeg \
  keepassxc \
  bash-completion \
  alttab \
  mediainfo 

sudo apt-get install --no-install-recommends -y \
	qmmp \
	xfonts-terminus \
	simplescreenrecorder \
	mat2 \
	mc \
	gpick \
	screenfetch \
	rxvt-unicode \
	zathura \
	flameshot \
	plank \
	mpv \
	gnome-mpv \
	fbreader \
	sakura \
	libreoffice \
	libreoffice-l10n-ru \
	vlc \
	viewnior \
	rofi \
	thunar-archive-plugin \
	unzip \
	zip \
	arj \
	lzip \
	lzop \
	ncompress \
	rzip \
	squashfs-tools \
	unace \
	unalz \
	unar \
	lrzip \
	p7zip \
	p7zip-full \
	network-manager \
	xfce4-power-manager \
	gnome-terminal \
	nemo 
